@extends('layouts.simple')

@section('title','[预览]' . $article->title)
@section('css_after')
    <style>
        img {
            max-width: 100%!important; /*图片自适应宽度*/
        }
    </style>
@endsection

@section('content')
    <!-- Page Content -->
    <div class="content">
        <!-- Block Tabs Alternative Style -->
        <div class="block" style="max-width: 840px;margin: 0 auto;">
            <div class="block-content">
                <h4 class="text-center">{{$article->title}}</h4>
                <p style="font-size: 85%;text-align: center">
                    <span style="padding-right: 2rem">来源:{{$article->source}} </span>
                    <span>时间:{{$article->created_at->format('Y-m-d H:i')}}</span>
                </p>
                <p><strong>摘要：</strong>{{$article->summary}}</p>
                <p>{!! $article->content !!}</p>
            </div>
        </div>
        <!-- END Block Tabs Alternative Style -->
    </div>
    <!-- END Page Content -->

@endsection
